package com.sweet.fourtimeoa.service.impl;

import com.sweet.fourtimeoa.mapper.LeaveMapper;
import com.sweet.fourtimeoa.pojo.entity.LeaveApplications;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeaveServiceImpl {

    @Autowired
    private LeaveMapper leaveMapper;
    public boolean addLeave(LeaveApplications leavepplications) {
        return leaveMapper.addLeave(leavepplications);
    }
}
